#ifndef QEVENTLABEL_H
#define QEVENTLABEL_H

#include <QLabel>
#include <QMouseEvent>
class QEventLabel : public QLabel
{
    Q_OBJECT
signals:
    void Clicked(QWidget* clicked);
    void DoubleClicked(QWidget* clicked);
public:
    explicit QEventLabel(QWidget *parent=0);
    qint64 value;
protected:
    void mouseReleaseEvent( QMouseEvent* event);
    void mouseDoubleClickEvent ( QMouseEvent * event );
};

#endif // QEVENTLABEL_H
